//
//  MLoginService.h
//  ios-test
//
//  Created by Apple -11 on 15/10/27.
//  Copyright (c) 2015年 Apple -11. All rights reserved.
//

#import "MBaseService.h"
#import "MBaseService.h"
#import "MListModel.h"
#import "MLoginModel.h"
//注册
typedef void(^getLoignListCompletionHandler)(NSDictionary * result);
typedef void(^getLoginErrorHandler)(NSString * error);
//登录
typedef void(^loignListCompletionHandler)(MLoginModel * result);
typedef void(^loginErrorHandler)(NSString * error);
@interface MLoginService : MBaseService
-(void)getProductListWithUsername:(NSString *)username password:(NSString *)password completion:(getLoignListCompletionHandler)success failure:(getLoginErrorHandler)failure;


-(void)getLoginListWithUsername:(NSString *)username password:(NSString *)password completion:(loignListCompletionHandler)success failure:(loginErrorHandler)failure;


@end
